package cn.xkshow.demo.service;

import org.springframework.stereotype.Service;

import cn.xkshow.demo.dao.hibernate.UinfoDao;
import cn.xkshow.demo.model.Uinfo;

@Service
public class UinfoService {
	private UinfoDao uinfoDao;

	public void saveOrUpdate(Uinfo ent){
		System.out.println("UinfoService:");
		this.uinfoDao.saveOrUpdate(ent);
	}

	public void setUinfoDao(UinfoDao uinfoDao) {
		this.uinfoDao = uinfoDao;
	}
}